package com.alks.function.data.request.chengKong;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class OutGoingQueryRequest extends PageParam {

    @ApiModelProperty(value = "指令", name = "lotNo")
    private String lotNo;

    @ApiModelProperty(value = "型体", name = "style")
    private String style;

    @ApiModelProperty(value = "厂商", name = "vendor")
    private String vendor;

    @ApiModelProperty(value = "外发单号",name = "slipNo")
    private String slipNo;

    @ApiModelProperty(value = "外发开始日期",name = "purDateStart")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate purDateStart;

    @ApiModelProperty(value = "外发结束日期",name = "purDateEnd")
    private LocalDate purDateEnd;

    @ApiModelProperty("0 未外发,1 已外发,null 全部")
    private Integer status;

    @ApiModelProperty(value = "0 冲裁外发 1 工艺外发  2 补单外发 3 指令外发",name = "outDispatchType")
    private Integer outDispatchType;
}
